check if record exists before insert in c

visit shbcf.ru